<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="css/base.css" />
<link rel="stylesheet" href="css/info-reg.css" />
    <link rel="stylesheet" type="text/css" href="css/jquery.dialog.css" />
    <link rel="stylesheet" href="css/index.css" />
    <link rel="stylesheet" href="css/info-mgt.css" />
    <link rel="stylesheet" href="css/WdatePicker.css" />
<title>毕业生简历管理系统</title>
    <style>
        h1{
            font-family: 华文行楷;
        }
    </style>
</head>

<body>
<div id="container">
    <div id="hd">
        <div class="hd-wrap ue-clear">
            <div class="top-light"></div>
            <h1>毕业生简历管理系统</h1>
            <div class="login-info ue-clear">
                <div class="welcome ue-clear"><span>欢迎您,</span><a href="employerRecommend?e_id=${employer.e_id}" class="user-name">${employer.name}</a></div>
            </div>
            <div class="toolbar ue-clear">
                <a href="candidateExit" class="quit-btn exit"></a>
            </div>
        </div>
    </div>
    <div id="bd">
        <div class="wrap ue-clear">
            <div class="sidebar">
                <!-- 目录部分 -->
                <h2 class="sidebar-header"><p>功能导航</p></h2>
                <ul class="nav">
                    <li class="recommend"><div class="nav-header" onclick="employerSkip1()"><a  class="ue-clear"><span>内容推荐</span></a></div></li>
                    <li class="position_manage"><div class="nav-header" onclick="employerSkip8()"><a class="ue-clear"><span>招聘岗位管理</span></a></div>
                    <li class="search"><div class="nav-header" onclick="employerSkip7()"><a class="ue-clear"><span>人才搜索</span></a></div></li>
                    <li class="inform"><div class="nav-header" onclick="employerSkip5()" ><a  class="ue-clear"><span>求职者通知</span></a></div></li>
                    <li class="manage"><div class="nav-header" onclick="employerSkip6()" ><a  class="ue-clear"><span>聘用信息反馈</span></a></div></li>
                </ul>
            </div>
            <!-- 显示部分 -->
            <div class="content">
                <div class="title"><h2>个人基本信息</h2></div>
                <div class="main">
                    <p class="short-input ue-clear newstyle">
                        <label>姓名：</label><input name="name" type="text" readonly="readonly" style="border:0;background:transparent;"  value="${candidate.name}"/>
                    </p>
                    <p class="long-input ue-clear newstyle">
                        <label>性别：</label><input name="sex" type="text" readonly="readonly" style="border:0;background:transparent;" value="${candidate.sex}">
                    </p>
                    <p class="short-input ue-clear newstyle">
                        <label>生日：</label><input name="birthday" type="text" readonly="readonly" style="border:0;background:transparent;" value="${candidate.birthday}">
                    </p>
                    <p class="short-input ue-clear newstyle">
                        <label>毕业学校：</label><input name="school" type="text" readonly="readonly" style="border:0;background:transparent;" value="${candidate.school}">
                    </p>
                    <p class="short-input ue-clear newstyle">
                        <label>专业类别：</label><input name="trade" type="text" readonly="readonly" style="border:0;background:transparent;" value="${candidate.major}">
                    </p>
                    <p class="long-input ue-clear newstyle">
                        <label>移动电话：</label><input name="phone" type="text" readonly="readonly" style="border:0;background:transparent;" value="${candidate.phone_number}">
                    </p>
                    <p class="short-input ue-clear newstyle">
                        <label>学校邮箱：</label><input name="email" type="text" readonly="readonly" style="border:0;background:transparent;" value="${candidate.school_email}">
                    </p>
                    <p class="short-input ue-clear newstyle">
                        <label>期望职位：</label><input name="expected_position" type="text" readonly="readonly" style="border:0;background:transparent;" value="${candidate.expected_position}">
                    </p>
                    <p class="short-input ue-clear newstyle">
                        <label>薪资期望：</label><input name="salary" type="text" readonly="readonly" style="border:0;background:transparent;" value="${candidate.salary_requirement}">
                    </p>
                    <p class="short-input ue-clear newstyle">
                        <label>个人评价：</label><textarea name="tip" readonly="readonly" style="height:150px;border:0;background:transparent;">${candidate.personal_evaluation}</textarea>
                    </p>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/WdatePicker.js"></script>
<script type="text/javascript" src="js/core.js"></script>
<script type="text/javascript" src="js/jquery.dialog.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script>
    function employerSkip1(){ const e_id="${employer.e_id}"; location.href="employerRecommend?e_id="+e_id}
    function employerSkip7(){ const e_id="${employer.e_id}"; location.href="findAllCandidates?e_id="+e_id}
    function employerSkip5(){ const e_id="${employer.e_id}"; location.href="employerNotice?e_id="+e_id}
    function employerSkip6(){ const e_id="${employer.e_id}"; location.href="findAllAcceptedCandidatesByEId?e_id="+e_id}
    function employerSkip8(){ const e_id="${employer.e_id}"; location.href="findAllPositionsByEId?e_id="+e_id}

    const  msg="${message}";
    if(msg){
        alert(msg);
    }
</script>
</html>
